﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Data;
using KPIS.GERP.GHRMS.DAL;
using KPIS.GERP.GHRMS.MODEL;
using KPIS.GERP.GHRMS.IBLL;

namespace KPIS.GERP.GHRMS.BLL
{
    public class RecruitApplicantBLL
    {
        RecruitApplicantDAL DAL = new RecruitApplicantDAL();

        public DataSet LoadApplicants(Nullable<int> Sequence, Nullable<int> EmployeeType, Nullable<int> EmployeeStatus, Nullable<int> EntType, string SearchText)
        {
            return DAL.LoadApplicants(Sequence, EmployeeType, EmployeeStatus, EntType, SearchText);
        }
        public DataSet LoadEducations(Nullable<int> Sequence, Nullable<int> TmpEmployee)
        {
            return DAL.LoadEducations(Sequence, TmpEmployee);
        }
        public void InsertEducations(int TmpEmpSeq, int EduQualSeq, int EduMajorSeq, int EduInsSeq, int CreatedBy)
        {
            DAL.InsertEducations(TmpEmpSeq, EduQualSeq, EduMajorSeq, EduInsSeq, CreatedBy);
        }
        public void UpdateEducations(int Sequence, int EduQualSeq, int EduMajorSeq, int EduInsSeq, int UpdatedBy)
        {
            DAL.UpdateEducations(Sequence, EduQualSeq, EduMajorSeq, EduInsSeq, UpdatedBy);
        }
        public void DeleteEducations(int Sequence, int UpdatedBy)
        {
            DAL.DeleteEducations(Sequence, UpdatedBy);
        }
    }
}
